package com.yizn.learn.beautiful.config;

import lombok.Getter;

/**
 * project : my-learn
 * <p> 业务错误码 </p>
 *
 * @author yisl
 * @date 2023-01-13【星期五】
 **/
@Getter
public enum AppCode implements StatusCode{
    APP_ERROR(2000, "业务异常"),
    PRICE_ERROR(2001, "价格异常");

    private int code;
    private String msg;

    AppCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
